<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>MyShop</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    {block name="css"}{include file="public/css" /}{/block}
</head>
<body class="hold-transition sidebar-mini">
<div class="wrapper">
    <!-- Navbar -->
    {block name="header"}{include file="public/nav" /}{/block}
    <!-- /.navbar -->
    <!-- Main Sidebar Container -->
    {block name="sidebar"}{include file="public/sidebar" /}{/block}
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <div class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-xs-2">
                        <h5 class="m-1 text-center">当前位置：</h5>
                    </div><!-- /.col -->
                    <div class="col-sm-6">
                        <ol class="breadcrumb float-sm-left">
                            {volist name="locationMenu" id="vo" }
                            {if condition = "$vo.menu_type eq 'left'"}
                            <li class="breadcrumb-item"><a href="javascript:void(0);">{$vo.menu_name}</a></li>
                            {elseif condition = "$vo.id eq end($locationMenu)['id']"}
                            <li class="breadcrumb-item active">{$vo.menu_name}</li>
                            {else/}
                            <li class="breadcrumb-item"><a href="{:url($vo.url_value)}">{$vo.menu_name}</a></li>
                            {/if}

                            {/volist}
                        </ol>
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.container-fluid -->
        </div>
        <!-- /.content-header -->

        <!-- Main content -->
        <section class="content">
            <div class="container-fluid">
                {block name="content"}{/block}
                {block name="alert"}{include file="public/alert" /}{/block}
            </div>
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
    {block name="footer"}{include file="public/footer" /}{/block}

    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark">
        <!-- Control sidebar content goes here -->
    </aside>
    <!-- /.control-sidebar -->

</div>
<!-- ./wrapper -->

{block name="js"}{include file="public/js" /}{/block}
{block name="pagejs"}{/block}

</body>
</html>
